package com.sky.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface UserShoppingCartService extends IService<ShoppingCart> {
    void add(ShoppingCart shoppingCart,ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> findAll(Integer userId);

    void deleteById(ShoppingCartDTO shoppingCartDTO, Integer userId);

    void deletesById(Integer userId);
}
